project(yolov8)

add_library(${PROJECT_NAME} SHARED yolov8.cpp)

target_include_directories(${PROJECT_NAME} PUBLIC  
                            ${OpenCV_INCLUDE_DIRS} 
                            ${RKNN_INCLUDE}
                            ${Preprocess_INCLUDE}
                            ${Postprocess_INCLUDE}
)

target_link_libraries(${PROJECT_NAME} PUBLIC  ${OpenCV_LIBS} ${RKNN_SO})
target_link_libraries(${PROJECT_NAME} PUBLIC  preprocess postprocess)